package com.github.permissiondog.cancanpandroid.repository.api;

import com.github.permissiondog.cancanpandroid.repository.api.response.ApplicationsResponse;
import com.github.permissiondog.cancanpandroid.repository.api.response.QuestionsResponse;
import com.github.permissiondog.cancanpandroid.repository.api.response.TemplateResponse;
import com.github.permissiondog.cancanpandroid.repository.api.response.TemplatesResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface TemplateApiService {
    @GET("template")
    Call<TemplateResponse> getTemplate(@Query("templateId") int templateId);
    @GET("template")
    Call<TemplatesResponse> getTemplates();
    @GET("template/question")
    Call<QuestionsResponse> getTemplateQuestions(@Query("templateId") int templateId);
}
